package com.eoner.baselibrary.bean.personal;

import com.eoner.baselibrary.bean.goods.ProductBean;

import java.util.List;

/**
 * 作者：sean
 * 创建时间：2017/7/24 15:33
 * 功能说明：
 */

public class GoodsBean {


    /**
     * code : 0
     * msg : success
     * data : {"sh_products":[{"sh_id":326,"sh_name":"T恤纯一良品318","sh_subname":"口感鲜咸绵软","sh_image":"http://img1.shihanbainian.com/upload_dev/product/4/7/9/479d1969b6771282d7d5c98ed68c4825.jpg","sh_show_price":5,"sh_line_price":10,"sh_label":{"sh_icon":"http://img1.shihanbainian.com/shihan2/icon/new_product.jpg","sh_icon_width":100,"sh_icon_height":40,"sh_location":"left_top"}}],"sh_total":1,"sh_page":1,"sh_page_size":2}
     * args : {"cart_num":0,"is_vip":0}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * sh_products : [{"sh_id":326,"sh_name":"T恤纯一良品318","sh_subname":"口感鲜咸绵软","sh_image":"http://img1.shihanbainian.com/upload_dev/product/4/7/9/479d1969b6771282d7d5c98ed68c4825.jpg","sh_show_price":5,"sh_line_price":10,"sh_label":{"sh_icon":"http://img1.shihanbainian.com/shihan2/icon/new_product.jpg","sh_icon_width":100,"sh_icon_height":40,"sh_location":"left_top"}}]
         * sh_total : 1
         * sh_page : 1
         * sh_page_size : 2
         */

        private String sh_total;
        private String sh_page;
        private String sh_page_size;
        private List<ProductBean> sh_products;

        public String getSh_total() {
            return sh_total;
        }

        public void setSh_total(String sh_total) {
            this.sh_total = sh_total;
        }

        public String getSh_page() {
            return sh_page;
        }

        public void setSh_page(String sh_page) {
            this.sh_page = sh_page;
        }

        public String getSh_page_size() {
            return sh_page_size;
        }

        public void setSh_page_size(String sh_page_size) {
            this.sh_page_size = sh_page_size;
        }

        public List<ProductBean> getSh_products() {
            return sh_products;
        }

        public void setSh_products(List<ProductBean> sh_products) {
            this.sh_products = sh_products;
        }

        public static class ShProductsBean {
            /**
             * sh_id : 326
             * sh_name : T恤纯一良品318
             * sh_subname : 口感鲜咸绵软
             * sh_image : http://img1.shihanbainian.com/upload_dev/product/4/7/9/479d1969b6771282d7d5c98ed68c4825.jpg
             * sh_show_price : 5
             * sh_line_price : 10
             * sh_label : {"sh_icon":"http://img1.shihanbainian.com/shihan2/icon/new_product.jpg","sh_icon_width":100,"sh_icon_height":40,"sh_location":"left_top"}
             */

            private String sh_id;
            private String sh_name;
            private String sh_subname;
            private String sh_image;
            private String sh_show_price;
            private String sh_line_price;
            private String sh_in_stock;
            private String sh_is_new;
            private ShLabelBean sh_label;
            private String sh_partner_commission;
            private String sh_stock;

            public String getSh_stock() {
                return sh_stock;
            }

            public void setSh_stock(String sh_stock) {
                this.sh_stock = sh_stock;
            }

            public String getSh_is_new() {
                return sh_is_new;
            }

            public void setSh_is_new(String sh_is_new) {
                this.sh_is_new = sh_is_new;
            }

            public String getSh_in_stock() {
                return sh_in_stock;
            }

            public void setSh_in_stock(String sh_in_stock) {
                this.sh_in_stock = sh_in_stock;
            }

            public String getSh_partner_commission() {
                return sh_partner_commission;
            }

            public void setSh_partner_commission(String sh_partner_commission) {
                this.sh_partner_commission = sh_partner_commission;
            }

            public String getSh_id() {
                return sh_id;
            }

            public void setSh_id(String sh_id) {
                this.sh_id = sh_id;
            }

            public String getSh_name() {
                return sh_name;
            }

            public void setSh_name(String sh_name) {
                this.sh_name = sh_name;
            }

            public String getSh_subname() {
                return sh_subname;
            }

            public void setSh_subname(String sh_subname) {
                this.sh_subname = sh_subname;
            }

            public String getSh_image() {
                return sh_image;
            }

            public void setSh_image(String sh_image) {
                this.sh_image = sh_image;
            }

            public String getSh_show_price() {
                return sh_show_price;
            }

            public void setSh_show_price(String sh_show_price) {
                this.sh_show_price = sh_show_price;
            }

            public String getSh_line_price() {
                return sh_line_price;
            }

            public void setSh_line_price(String sh_line_price) {
                this.sh_line_price = sh_line_price;
            }

            public ShLabelBean getSh_label() {
                return sh_label;
            }

            public void setSh_label(ShLabelBean sh_label) {
                this.sh_label = sh_label;
            }

            public static class ShLabelBean {
                /**
                 * sh_icon : http://img1.shihanbainian.com/shihan2/icon/new_product.jpg
                 * sh_icon_width : 100
                 * sh_icon_height : 40
                 * sh_location : left_top
                 */

                private String sh_icon;
                private String sh_icon_width;
                private String sh_icon_height;
                private String sh_location;

                public String getSh_icon() {
                    return sh_icon;
                }

                public void setSh_icon(String sh_icon) {
                    this.sh_icon = sh_icon;
                }

                public String getSh_icon_width() {
                    return sh_icon_width;
                }

                public void setSh_icon_width(String sh_icon_width) {
                    this.sh_icon_width = sh_icon_width;
                }

                public String getSh_icon_height() {
                    return sh_icon_height;
                }

                public void setSh_icon_height(String sh_icon_height) {
                    this.sh_icon_height = sh_icon_height;
                }

                public String getSh_location() {
                    return sh_location;
                }

                public void setSh_location(String sh_location) {
                    this.sh_location = sh_location;
                }
            }
        }
    }

    public static class ArgsBean {
        /**
         * cart_num : 0
         * is_vip : 0
         */

        private String cart_num;
        private String is_vip;

        public String getCart_num() {
            return cart_num;
        }

        public void setCart_num(String cart_num) {
            this.cart_num = cart_num;
        }

        public String getIs_vip() {
            return is_vip;
        }

        public void setIs_vip(String is_vip) {
            this.is_vip = is_vip;
        }
    }
}
